package aaaTimer;

import java.util.Timer;
import java.util.TimerTask;

public class aaa {

	public static void main(String[] args) {
	//	t();
		
		Timer timer=new Timer();
		  
		timer.schedule(new TimerTask(){

			@Override
			public void run() {
				// reduceTimer();
				System.out.println("===========timer");
				
			}},0,1*1000);  
	

	}

	private static void t() {
		for(int i=4;i<40;i++)
		{
			String s="INSERT INTO `timer_tab` VALUES ('@id', '@no', '0');";
			s=s.replaceAll("@id", String.valueOf(i)).replaceAll("@no", String.valueOf(i));
			System.out.println(s);
		}
	}

}
